#!/usr/bin/env bash

## configure and install minimal openbox desktop environment

doas apt-get update
doas apt-get upgrade
doas apt-get dist-upgrade

    doas apt install \
    xorg \
    mesa-vulkan-drivers \
    xfonts-cyrillic \
    mesa-utils 
doas apt-get install openbox

mkdir -p /home/admin/.config/openbox && cp /etc/xdg/openbox/* /home/admin/.config/openbox/

cp .bash_profile /home/admin/

echo "exec openbox-session" >> ~/.xinitrc
